package com.ad.payload.dto.item;

import com.ad.payload.model.PageDto;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author:dxgong
 * @日期 2021/4/23 11:59
 * @注释
 */
@Data
public class ItemDetailSearchDto extends PageDto{

    /**
     * 品类id
     * */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @NotNull(message="品类id不能为空")
    private Long classId;


    /**
     * 商家id
     * */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long merchantId;


}
